#include <stdio.h>
#include "_ugetidx_s.h"


//#include "utest_def.h"
#define __begin_test(t) int t_qweasduzxc = t; int running_qweasduzxc = 0; while(t_qweasduzxc == 0 || running_qweasduzxc++ < t_qweasduzxc) {
#define __end_test }

int maint()
{
    __begin_test(1)

    uintptr_t p = _ugetidx_easy_init(64);

    int i;
    for(i=0; i<100; i+=2) {
        printf("%2d : idx%d\n", i, _ugetidx_easy(p, i));
    }

    for(i=0; i<100; i++) {
        printf("%2d : idx%d\n", i, _ugetidx_easy(p, i));
    }

    _ugetidx_easy_deinit(p);
    p = (uintptr_t)0;

    __end_test

    return 0;
}





int main()
{
    
    __begin_test(10)

    printf("hello kitty.\n");


    __end_test
}
